﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using TJDevHouse.Starcraft.Game;

namespace TJDevHouse.Starcraft.MapAnalyser
{
	/// <summary>
	/// A path between locations
	/// </summary>
	public class MapPath
	{
		public WalkTile StartTile { get; private set; }
		public WalkTile EndTile { get; private set; }

		/// <summary>
		/// The walk tiles, in order, for the route
		/// </summary>
		public List<WalkTile> Route { get; private set; }

		/// <summary>
		/// A list of all nodes processed when calculating the path
		/// </summary>
		public List<PathFindingNode> ProcessedNodes { get; set; }

		public MapPath()
		{
			Route = new List<WalkTile>();
			ProcessedNodes = new List<PathFindingNode>();
		}

		/// <summary>
		/// Set the route.
		/// </summary>
		/// <param name="route"></param>
		public void SetRoute(List<WalkTile> route)
		{
			Route = route;
		}

		
	}
}
